Skip to content

Conversation

@OCHyams
Copy link
Contributor

@OCHyams OCHyams commented Jul 2, 2025

Discussed in #146497.

Seems to have a positive impact on bitcode file size in CTMark LTO builds, and makes space for more abbrevs without bumping the CodeLen for function blocks.

Alternatively, we could just bump the CodeLen to 5 bits.

Discussed in llvm#146497.

Seems to have a positive impact on bitcode file size in CTMark LTO builds, and
makes space for more abbrevs without bumping the CodeLen for function blocks.

Alternatively, we could just bump the CodeLen to 5 bits.
@OCHyams
Copy link
Contributor Author

OCHyams commented Jul 3, 2025

Looks like we're moving ahead with CodeLen increasing to 5 bits.

@nikic should we abandon this? It looks like it does slightly improve sizes overall, but could have a negative affect on some workloads... seems safer to drop it now that we don't need to keep CodeLen down. I'm happy either way.

@nikic
Copy link
Contributor

nikic commented Jul 3, 2025

Yeah, I think we can drop this for now. Without the CodeLen change, the benefit of dropping it is minimal (it will only save emitting two abbrev records, right?)

@OCHyams OCHyams closed this Jul 3, 2025
@OCHyams OCHyams deleted the rm-some-abbrevs branch July 3, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants